ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStage<T> Class / Set Method / Set(T,ComArray<ClassInstance>) Method
The shader to assign to the device. Assign null to disable the compute shader.
An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.

In This Topic
    Set(T,ComArray<ClassInstance>) Method
    In This Topic
    Assigns a compute shader to the device.
    Syntax
    'Declaration
     
    Public Overloads Sub Set( _
       ByVal shader As T, _
       ByVal classInstances As ComArray(Of ClassInstance) _
    ) 
    public void Set( 
       T shader,
       ComArray<ClassInstance> classInstances
    )

    Parameters

    shader
    The shader to assign to the device. Assign null to disable the compute shader.
    classInstances
    An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.
    See Also